﻿using System.ComponentModel.DataAnnotations;

namespace IS_Ever_Green.DataAccess.Model
{
    public class ReviewModel
    {
        [Key]
        public int ReviewsId { get; set; }

        public int UserId { get; set; }

        public int ProductId { get; set; }

        public string ReviewText { get; set; }

        public int Rating { get; set; }


        public UserModel User { get; set; }
        public ProductModel Product { get; set; }
    }
}
